package controllers

import (
	"gdshop-back-end-go/common/request/BaseReq"
	"gdshop-back-end-go/common/response"
	"gdshop-back-end-go/service-common/SysSettingService"
	"github.com/gogf/gf/net/ghttp"
)

type SysSettingController struct {
	*BaseController
}

func NewSysSettingController(inputReq *BaseReq.I) *SysSettingController {
	return &SysSettingController{
		&BaseController{Req: inputReq},
	}
}

func (c *SysSettingController) Info(r *ghttp.Request) *response.JsonResponse {
	return SysSettingService.Info(r, c.Req)
}
func (c *SysSettingController) Update(r *ghttp.Request) *response.JsonResponse {
	return SysSettingService.Update(r, c.Req)
}
